// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import com.nokia.symbian 1.1

Page {    
    tools: ToolBarLayout {
        ToolButton {
            iconSource: "toolbar-back"
            onClicked: pageStack.pop();
        }
    }

    Flickable {
        anchors { left: parent.left; top: parent.top; right: parent.right; bottom: parent.bottom }
        contentHeight: alturaTotal
        interactive: height < alturaTotal

        property int alturaTotal : info.height + img.height + txtApp.height + col.height + 20

        InfoAnimadoBackground {
            id: info
            textoInfo: qsTr("_sobre_header")
            textoDescricao: qsTr("_sobre_header_desc")
        }

        Image {
            id: img
            source: "qrc:///carta"
            anchors { top: info.bottom; horizontalCenter: parent.horizontalCenter; topMargin: 35 }
        }

        Text {
            id: txtApp
            text: "CheckMyOrders " + utilidade.versao
            color: platformStyle.colorNormalLight
            anchors { top: img.bottom; horizontalCenter: parent.horizontalCenter }
        }

        Column {
            id: col
            width: parent.width * 0.7
            anchors { top: txtApp.bottom; horizontalCenter: parent.horizontalCenter }

            Text {
                width: parent.width
                text: qsTr("_desenvolvido")
                color: platformStyle.colorNormalLight
                font { italic: true; pixelSize: 15 }
                wrapMode: Text.WordWrap
            }
            Text {
                width: parent.width
                text: qsTr("_contato")
                color: platformStyle.colorNormalLight
                font { italic: true; pixelSize: 15 }
                wrapMode: Text.WordWrap
            }
            Text {
                width: parent.width
                text: qsTr("_nota")
                color: platformStyle.colorNormalLight
                font { italic: true; pixelSize: 13 }
                wrapMode: Text.WordWrap
            }
        }
    }
}
